var BarDef = {
	"style"	 : {
		"css"	 : "bartitle",
		"align" : "center",
		"bgcolor" : "#6C86DC",
		"size"	 : [110, 25],
		"shadow" : {
			"color" : "#C0C0C0", "width" : 1
		},
		"border" : {
			"color" : "#000000", "width" : 1
		}, //supposes all four borders
		"imgspace" : 5,
		"imgendon" : {
			"src" : "img/arr_down.gif", "width" : 24, "height" : 24
		},
		"imgendoff" : {
			"src" : "img/arr_up.gif", "width" : 24, "height" : 24
		},
		"itemoffset" : {
			"x" : 5, "y" : 10
		},
		"fixheight" : 250
	},
	"scroller" : {
		"style" : {
			"bgcolor" : "#ffffff",
			"bgimg" : "",
			"align" : "center",
			"imgendon" : "",
			"imgendoff" : "",
			"size" : [120, 18],
			"opacity" : 60,
			"css" : "bartitlecenter"
		},
		"styleover" : {
			"imgendon" : "",
			"imgendoff" : "",
			"bgcolor" : "#ffffff",
			"bgimg" : "",
			"align" : "center",
			"size" : [120, 18],
			"opacity" : 60,
			"css" : "bartitlecenter"
		},
		"up" : "img/scroller_up.gif",
		"down" : "img/scroller_down.gif",
		"step" : 5, "time" : 30, "len" : 60
	},
	"itemover" : {
		"css" : "bartitleover",
		"imgendon" : {
			"src" : "img/arr_down_over.gif", "width" : 24, "height" : 24
		},
		"imgendoff" : {
			"src" : "img/arr_up_over.gif", "width" : 24, "height" : 24
		},
		"bgimg" : "img/title_bg.gif"
	},
	"itemon" : {
		"bgcolor" : "#265BCC", "color" : "#ffffff"
	},
	"position" : {
		"absolute" : true, "pos" : [10, 10]
	},
	//	"position": { "absolute" : false, "pos":[0,0] },//, "align":"center" },
	"items" : [
	{
		"text" : "Item 1",
		"style" : {
			"align" : "center",
			"bgimg" : "img/title_bg.gif"
		},
		"menu" : {
			"style" : {
				"size" : [100, 25],
				"bgcolor" : "#D6DFF7",
				"border" : {
					"color" : "#ffffff", "width" : 1
				},
				"bgimg" : "",
				"align" : "center",
				"itemoffset" : {
					"x" : 5, "y" : 1
				}
			},
			"itemover" : {
				"imgendon" : "",
				"imgendoff" : "",
				"bgimg" : ""
			},
			"items"	 : [
			{
				"text" : "Item 1"
			},
			{
				"text" : "Item 2"
			} ]
		}
	},
	{
		"text" : "Item 2",
		"style" : {
			"align" : "center",
			"bgimg" : "img/title_bg.gif"
		},
		"menu" : {
			"style" : {
				"size" : [100, 25],
				"bgcolor" : "#D6DFF7",
				"border" : {
					"color" : "#ffffff", "width" : 1
				},
				"bgimg" : "",
				"align" : "center",
				"itemoffset" : {
					"x" : 5, "y" : 1
				}
			},
			"itemover" : {
				"imgendon" : "",
				"imgendoff" : "",
				"bgimg" : ""
			},
			"items"	 : [
			{
				"text" : "Item 1"
			},
			{
				"text" : "Item 2"
			} ]
		}
	},
	{
		"text" : "Item 3",
		"style" : {
			"align" : "center",
			"bgimg" : "img/title_bg.gif"
		},
		"menu" : {
			"style" : {
				"size" : [100, 25],
				"bgcolor" : "#D6DFF7",
				"border" : {
					"color" : "#ffffff", "width" : 1
				},
				"bgimg" : "",
				"align" : "center",
				"itemoffset" : {
					"x" : 5, "y" : 1
				}
			},
			"itemover" : {
				"imgendon" : "",
				"imgendoff" : "",
				"bgimg" : ""
			},
			"items"	 : [
			{
				"text" : "Item 1"
			},
			{
				"text" : "Item 2"
			},
			{
				"text" : "Item 3"
			} ]
		}
	},
	{
		"text" : "Item 4",
		"style" : {
			"align" : "center",
			"bgimg" : "img/title_bg.gif"
		},
		"menu" : {
			"style" : {
				"size" : [100, 25],
				"bgcolor" : "#D6DFF7",
				"border" : {
					"color" : "#ffffff", "width" : 1
				},
				"bgimg" : "",
				"align" : "center",
				"itemoffset" : {
					"x" : 5, "y" : 1
				}
			},
			"itemover" : {
				"imgendon" : "",
				"imgendoff" : "",
				"bgimg" : ""
			},
			"items"	 : [
			{
				"text" : "Item 1"
			},
			{
				"text" : "Item 2"
			},
			{
				"text" : "Item 3"
			} ]
		}
	} ]
};